#ifndef ACTIONDEBUGFORM_H
#define ACTIONDEBUGFORM_H

#include <QWidget>
#include "baseform.h"

class HomeWindow;
namespace Ui {
class ActionDebugForm;
}

class ActionDebugForm : public BaseForm
{
    Q_OBJECT

public:
    explicit ActionDebugForm(BaseForm *parent = 0);
    ~ActionDebugForm();

    bool isRunDebug()const;

    void setHomeWindowPtr(HomeWindow* _homePtr);

protected:
    void initWindow();

private slots:
    void on_btnRun_clicked();

    void on_btnOilStart_clicked();

    void on_btnOilStop_clicked();

    void on_btnKeepPress_clicked();

    void on_btnLosePress_clicked();

    void on_btnCharge_clicked();

    void on_btnDisplacement_clicked();

    void on_btnLoopUp_clicked();

    void on_btnLoopDown_clicked();

    void on_btnStopDebug_clicked();

    void on_btnDebugStopReset_clicked();

    void on_btnDebugClose_clicked();

private:
    Ui::ActionDebugForm *ui;

    bool isRunning;

    HomeWindow* homeWindowPtr;
};

#endif // ACTIONDEBUGFORM_H
